<template>
  <a href="javascript:void (0)" class="com-btn-close" @click="handleEventClick"></a>
</template>

<script>
export default {
  name: "index",
  data() {
    return {}
  },
  methods: {
    handleEventClick() {
      this.$emit('on-click')
    }
  }
}
</script>

<style lang="scss">
a.com-btn-close{
  display: block;
  width: 20px;
  height: 20px;
  background-size: 100%;
  background: url("../../assets/img/close_c@2x.png") no-repeat;
  background-size: 100%;
  cursor: pointer;
}
</style>
